package ex1;
import java.util.*;
public class PartTimeEmployee extends Employee {
	public PartTimeEmployee() {
		super();
	}
	public PartTimeEmployee(int id, String name, String address, int day, int month, int year, int basicSalary) {
		super(id, name, address, day, month, year, basicSalary );
	}
	
	Date day = new Date();
	@Override
	void sumSalary() {
		double sumsalary = 0;
		int countDay =0;
		countDay = this.getDay();
		sumsalary = this.getBasicSalary() * countDay;
		System.out.println("Salary PartTime : " + String.valueOf(sumsalary));
	} 
}
